package la.iok.hzsvn.lewin.movie.mapper;

import la.iok.hzsvn.lewin.movie.entity.PlayRoleInstance;
import la.iok.hzsvn.lewin.mybatis.mapper.BaseMapper;
import la.iok.hzsvn.share.annotations.NotNull;
import org.apache.ibatis.annotations.Select;

public interface PlayRoleInstanceMapper extends BaseMapper<PlayRoleInstance> {

    @Select("SELECT * FROM `PlayRoleInstance` where `movieInstanceId`=#{movieInstanceId} and `playRoleId`=#{playRoleId}")
    PlayRoleInstance select(@NotNull Long movieInstanceId, @NotNull Long playRoleId);
}
